package com.pyl.admin.system.validator;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * @author 灵魂贰婶
 * @date 2018/8/14
 */
@Data
public class DictForm implements Serializable {
   
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@NotBlank(message = "字典标识不能为空")
    private String name;
	
	@NotBlank(message = "字典标题不能为空")
    private String title;
    
	@NotNull(message = "字典类型不能为空")
    private Byte type;
    
	@NotBlank(message = "字典值不能为空")
    private String value;
	
	private Long id;
	
	
}
